package com.raycloud.java.dada.enums;

/**
 * Created by:  intelliJ IDEA
 *
 * @Author albert
 * @Description:达达订单类型枚举
 * @Date:2017/7/13 上午9:57
 * @package:com.raycloud.java.dada.enums
 * @Modified By:
 */
public enum CargoTypeEnum {
    FOOD(1,"餐饮"),
    DRINK(2,"饮料"),
    FLOWER(3,"鲜花"),
    TICKET(4,"票务"),
    OTHER(5,"其他"),
    PRINT(8,"印刷品"),
    MARKET(9,"便利店"),
    SCHOOL_FOOD(10,"学校餐饮"),
    SCHOOL_MARKET(11,"学校便利店"),
    FRESH(12,"生鲜"),
    FRUIT(13,"水果");

    private int code;
    private String name;
    private CargoTypeEnum(int code,String name){
        this.code = code;
        this.name = name;
    }

    public int getCode(){
        return code;
    }
    public String getName(){
        return name;
    }

}
